body {
    background: linear-gradient(135deg, #e3f0ff 0%, #f8fbff 100%);
    font-family: 'Segoe UI', 'Microsoft YaHei', Arial, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    color: #222;
}

.container {
    max-width: 960px;
    margin: 48px auto 0 auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(25,118,210,0.10);
    padding: 40px 32px 32px 32px;
    min-height: 60vh;
}

nav {
    background: #2563eb;
    color: #fff;
    padding: 0 32px;
    height: 64px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 12px rgba(25,99,235,0.08);
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    position: sticky;
    top: 0;
    z-index: 10;
}
nav .nav-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-right: 40px;
    letter-spacing: 1px;
}
nav a {
    color: #fff;
    text-decoration: none;
    margin-right: 24px;
    font-size: 1.08rem;
    font-weight: 500;
    border-radius: 6px;
    padding: 6px 14px;
    transition: background 0.18s, color 0.18s;
}
nav a:hover, nav a.active {
    background: #3b82f6;
    color: #fff;
}
nav form {
    margin-left: 36px;
}
nav input[type="text"] {
    padding: 7px 12px;
    border-radius: 6px;
    border: 1px solid #dbeafe;
    font-size: 1rem;
    outline: none;
    margin-right: 6px;
    background: #f1f5fa;
    transition: border 0.2s;
}
nav input[type="text"]:focus {
    border: 1.5px solid #2563eb;
}
nav .btn {
    padding: 7px 18px;
    font-size: 1rem;
    border-radius: 6px;
    background: #3b82f6;
    color: #fff;
    border: none;
    font-weight: 500;
    transition: background 0.18s;
}
nav .btn:hover {
    background: #2563eb;
}
nav span {
    margin-left: auto;
    font-size: 1rem;
    color: #e0e7ef;
}

h1, h2 {
    color: #2563eb;
    margin-top: 0;
    letter-spacing: 1px;
}

.btn, button, input[type="submit"] {
    background: linear-gradient(90deg, #2563eb 60%, #3b82f6 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 28px;
    font-size: 1.08rem;
    cursor: pointer;
    margin: 10px 0;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(25,99,235,0.08);
    transition: background 0.18s, box-shadow 0.18s;
}
.btn:hover, button:hover, input[type="submit"]:hover {
    background: linear-gradient(90deg, #1d4ed8 60%, #2563eb 100%);
    box-shadow: 0 4px 16px rgba(25,99,235,0.13);
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 24px 0;
    background: #f8fafc;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(25,99,235,0.06);
}
table th, table td {
    padding: 16px 10px;
    border-bottom: 1px solid #e0e7ef;
    text-align: left;
    font-size: 1.05rem;
}
table th {
    background: #e0e7ef;
    color: #2563eb;
    font-weight: 600;
}
table tr:last-child td {
    border-bottom: none;
}
table tr:hover td {
    background: #e8f0fe;
}

form {
    margin: 24px 0 12px 0;
}
input, select, textarea {
    padding: 10px;
    border: 1.5px solid #dbeafe;
    border-radius: 7px;
    font-size: 1.05rem;
    margin-bottom: 16px;
    width: 100%;
    box-sizing: border-box;
    background: #f1f5fa;
    transition: border 0.2s;
}
input:focus, select:focus, textarea:focus {
    border: 1.5px solid #2563eb;
    outline: none;
}
input[type="submit"], button[type="submit"] {
    width: auto;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0 8px 0;
    justify-content: flex-end;
}
.pagination a {
    background: #e0e7ef;
    color: #2563eb;
    padding: 6px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.18s;
}
.pagination a:hover {
    background: #3b82f6;
    color: #fff;
}

@media (max-width: 700px) {
    .container {
        padding: 12px 2vw;
    }
    nav {
        flex-direction: column;
        height: auto;
        padding: 10px 0;
    }
    nav .nav-title {
        margin-bottom: 8px;
    }
    table th, table td {
        padding: 10px 4px;
        font-size: 0.98rem;
    }
}

.counter {
    display: inline-block;
    background: #e0e7ef;
    color: #2563eb;
    padding: 8px 22px;
    border-radius: 22px;
    font-weight: bold;
    margin-bottom: 20px;
    font-size: 1.15rem;
    box-shadow: 0 1px 4px rgba(25,99,235,0.06);
}

.center-box {
    max-width: 420px;
    margin: 80px auto;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 16px rgba(25,99,235,0.13);
    padding: 40px 28px;
    text-align: center;
}

ul, ol {
    margin: 0 0 18px 20px;
    padding: 0;
}

/* 消息提示样式 */
.messages, .messages ul {
    list-style: none;
    padding: 0;
    margin: 0 0 18px 0;
}
.messages li {
    background: linear-gradient(90deg, #e0e7ef 60%, #f1f5fa 100%);
    color: #2563eb;
    padding: 12px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 1px 6px rgba(25,99,235,0.08);
    font-weight: 600;
    font-size: 1.08rem;
}

.dashboard-layout {
    display: flex;
    gap: 32px;
    margin-top: 0;
}
.dashboard-main {
    flex: 1 1 0%;
    min-width: 0;
}
.dashboard-side {
    width: 270px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.welcome-card {
    background: #f8fafc;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(25,99,235,0.06);
    padding: 28px 28px 18px 28px;
    margin-bottom: 28px;
}
.stats-row {
    display: flex;
    gap: 24px;
    margin-bottom: 28px;
}
.stat-card {
    flex: 1 1 0%;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(25,99,235,0.08);
    padding: 24px 0 18px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
}
.stat-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 10px;
}
.stat-label {
    color: #888;
    font-size: 1.05rem;
    margin-bottom: 4px;
}
.stat-value {
    font-size: 2.1rem;
    font-weight: bold;
    color: #2563eb;
}
.cards-row {
    display: flex;
    gap: 24px;
    margin-bottom: 0;
}
.info-card {
    flex: 1 1 0%;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(25,99,235,0.08);
    padding: 18px 22px 12px 22px;
    min-width: 0;
}
.info-card-title {
    font-size: 1.15rem;
    font-weight: bold;
    margin-bottom: 12px;
    letter-spacing: 1px;
}
.info-item {
    padding: 8px 0 8px 0;
    border-bottom: 1px solid #f1f5fa;
    font-size: 1.05rem;
}
.info-item:last-child {
    border-bottom: none;
}
.side-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(25,99,235,0.08);
    padding: 18px 20px 18px 20px;
    margin-bottom: 0;
}
.side-title {
    font-size: 1.08rem;
    font-weight: bold;
    color: #2563eb;
    margin-bottom: 10px;
}
.side-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}
.side-nav li {
    margin-bottom: 10px;
}
.side-nav a {
    color: #2563eb;
    text-decoration: none;
    font-size: 1.05rem;
    transition: color 0.18s;
}
.side-nav a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}
@media (max-width: 1000px) {
    .dashboard-layout {
        flex-direction: column;
    }
    .dashboard-side {
        width: 100%;
        flex-direction: row;
        gap: 24px;
    }
    .side-card {
        flex: 1 1 0%;
    }
}
@media (max-width: 700px) {
    .stats-row, .cards-row {
        flex-direction: column;
        gap: 12px;
    }
    .dashboard-side {
        flex-direction: column;
        gap: 12px;
    }
} 